import matplotlib.pyplot as plt
# 显示前5000个整数的立方值
input_values = list(range(1, 5001))
output_values = [(input_value ** 3) for input_value in input_values]

plt.scatter(input_values, output_values, c = output_values, cmap = plt.cm.Blues,
            edgecolors='none', s = 20)

plt.title("Cube Numbers", fontsize = 24)
plt.xlabel("Value", fontsize = 14)
plt.ylabel("Cube of Value", fontsize = 14)

plt.tick_params(axis = 'both', which = 'major', labelsize = 14)

plt.show()